package Constructs;

public class TreeNode {
	public int val;
	public TreeNode left;
	public TreeNode right;
	
	public TreeNode(int val) {this.val = val;}

	public TreeNode(int val, TreeNode left, TreeNode right) {
		super();
		this.val = val;
		this.left = left;
		this.right = right;
	}
	

	@Override
	public String toString() {
//		return val + " " + left + " " + right;
		return val + " ";
	}
	
	

}
